<!--
    <?php if ($products) { ?>
    <table cellpadding="2" cellspacing="0" style="width: 100%;">
      <?php foreach ($products as $product) { ?>
      <tr>
        <td valign="top" width="1"><a href="<?php echo str_replace('&', '&amp;', $product['href']); ?>"><img src="<?php echo $product['image']; ?>" alt="<?php echo $product['name']; ?>" /></a></td>
        <td valign="top"><a href="<?php echo str_replace('&', '&amp;', $product['href']); ?>"><?php echo $product['name']; ?></a>
          <?php if ($display_price) { ?>
          <br />
          <?php if (!$product['special']) { ?>
          <span style="font-size: 11px; color: #900;"><?php echo $product['price']; ?></span>
          <?php } else { ?>
          <span style="font-size: 11px; color: #900; text-decoration: line-through;"><?php echo $product['price']; ?></span> <span style="font-size: 11px; color: #F00;"><?php echo $product['special']; ?></span>
          <?php } ?>
          <a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
          <?php } ?>
          <?php if ($product['rating']) { ?>
          <br />
          <img src="catalog/view/theme/default/image/stars_<?php echo $product['rating'] . '.png'; ?>" alt="<?php echo $product['stars']; ?>" />
          <?php } ?></td>
      </tr>
      <?php } ?>
    </table>
    <?php } ?>-->


<p class="tt1 whitetext"><?php echo $heading_title; ?></p>
<br/>
<?php 
	if ($products) 
	{ 
		$n=count($products);
		$i=0;
?>
	<?php foreach ($products as $product) 
	{ 
		if($i%4==0)
		{
			echo '<div class="w702 m15b">';
		}
		if(($i%4==3) || ($i==($n-1)))
		{

	?>
			<div class="w153 float_left"> <a href="<?php echo str_replace('&', '&amp;', $product['href']); ?>"><img src="<?php echo $product['thumb']; ?>" /></a>
              <p class="p10t"><a href="<?php echo str_replace('&', '&amp;', $product['href']); ?>"><?php echo $product['name']; ?></a></p>
              <p class="yellowtext">
			  Price: 
			  <?php 
			  if ($display_price) 
			  { 
			  	 if (!$product['special']) 
					{ 
				 		echo $product['price']; 
					} 
					else 
					{ 
					?>
          <span style="font-size: 11px; color: #900; text-decoration: line-through;"><?php echo $product['price']; ?></span> <span style="font-size: 11px; color: #F00;"><?php echo $product['special']; ?></span>
			  <?php 
			  	}
			  } 
			  ?>
			  </p>              
			  <?php if ($product['rating']) { ?>
			  <!--<img src="catalog/view/theme/default/image/stars_<?php echo $product['rating'] . '.png'; ?>" alt="<?php echo $product['stars']; ?>" /><br />-->
			  <?php } ?>
			  <!--<a href="<?php echo $product['add']; ?>" class="button_add_small"><img src="catalog/view/theme/w4u/img/but.png" class="p10t"/></a> -->
			</div>
	<?php		
		}
		else
		{
	?>
	 		<div class="w153 m30r float_left"><a href="<?php echo str_replace('&', '&amp;', $product['href']); ?>"><img src="<?php echo $product['thumb']; ?>" /></a>
              <p class="p10t"><a href="<?php echo str_replace('&', '&amp;', $product['href']); ?>"><?php echo $product['name']; ?></a></p>
              <p class="yellowtext">
			  Price: 
			  <?php 
			  if ($display_price) 
			  { 
			  	 if (!$product['special']) 
					{ 
				 		echo $product['price']; 
					} 
					else 
					{ 
					?>
          <span style="font-size: 11px; color: #900; text-decoration: line-through;"><?php echo $product['price']; ?></span> <span style="font-size: 11px; color: #F00;"><?php echo $product['special']; ?></span>
			  <?php 
			  	}
			  } 
			  ?>
			  </p>              
			  <?php if ($product['rating']) { ?>
			  <!--<img src="catalog/view/theme/default/image/stars_<?php echo $product['rating'] . '.png'; ?>" alt="<?php echo $product['stars']; ?>" /><br />-->
			  <?php } ?>
			  <!--<a href="<?php echo $product['add']; ?>" class="button_add_small"><img src="catalog/view/theme/w4u/img/but.png" class="p10t"/></a> -->
			  
			</div>
	<?php		
		}
		
		if(($i%4==3) || ($i==($n-1)))
		{
			echo '<br style="clear:both" /><div class="bbdot p15t"></div></div>';
		}
	?>
           
<?php 
	$i++;
	} 
?>

<?php } ?>		  